package com.engine.salary.entity.taxagent.dto;

import com.cloudstore.eccom.pc.table.WeaTableType;
import com.engine.salary.annotation.SalaryTable;
import com.engine.salary.annotation.SalaryTableColumn;
import com.engine.salary.annotation.SalaryTableOperate;
import com.engine.salary.annotation.TableTitle;
import com.engine.salary.util.excel.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Harryxzy
 * @date 2023/01/06 10:48
 * @description 个税扣缴义务人-人员范围
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@SalaryTable(pageId = "a4f85287-e3f9-6614-adn9-7d06e54y6rj8", tableType = WeaTableType.CHECKBOX, operates = {
        @SalaryTableOperate(text = "查看明细")
})
public class TaxAgentManageRangeEmployeeListDTO {

    //主键id
    @SalaryTableColumn(column = "id", display = false)
    private Long id;

    //员工id
    private Long employeeId;

    //姓名
    @SalaryTableColumn(text = "姓名", width = "10%", column = "username")
    @TableTitle(title = "姓名", dataIndex = "username", key = "username")
    @ExcelProperty(index = 0)
    private String username;


    /**
     * 个税扣缴义务人id
     */
    private Long taxAgentId;

    //部门
    @SalaryTableColumn(text = "部门", width = "10%", column = "departmentName")
    @TableTitle(title = "部门", dataIndex = "departmentName", key = "departmentName")
    @ExcelProperty(index = 1)
    private String departmentName;

    //手机号
    @SalaryTableColumn(text = "手机号", width = "10%", column = "mobile")
    @TableTitle(title = "手机号", dataIndex = "mobile", key = "mobile")
    @ExcelProperty(index = 2)
    private String mobile;

    //工号
    @SalaryTableColumn(text = "工号", width = "10%", column = "jobNum")
    @TableTitle(title = "工号", dataIndex = "jobNum", key = "jobNum")
    @ExcelProperty(index = 3)
    private String jobNum;

    //
    @SalaryTableColumn(text = "证件号码", width = "10%", column = "idNo")
    @TableTitle(title = "证件号码", dataIndex = "idNo", key = "idNo")
    @ExcelProperty(index = 4)
    private String idNo;

    //人员状态
    @SalaryTableColumn(text = "员工状态", width = "10%", column = "employeeStatus")
    @TableTitle(title = "员工状态", dataIndex = "employeeStatus", key = "employeeStatus")
    @ExcelProperty(index = 5)
    private String employeeStatus;




}
